<?php
namespace app\user\controllers;
use app\user\common\ViewBaseController;

class MyController extends ViewBaseController {

    public function actionIndex(){
        $data['title']='无参数进入默认方法My';
        $this->assign('data',$data);
        return $this->display('my/index');
    }
}